Deactivate the mark on more copy operations, and indicate the copied region.
authorChong Yidong <cyd@gnu.org>
Sun, 29 Jul 2012 04:45:48 +0000 (12:45 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 29 Jul 2012 04:45:48 +0000 (12:45 +0800)
commitb546ba2f8a965e02cfff9f91bd80d4aae3e13475
tree0c37b6dde42e3a75f2cb1bb811687412451f028e
parent5441c7ce8f482dd85a0ed8c8b47f0296aafe9ebb
Deactivate the mark on more copy operations, and indicate the copied region.

* lisp/simple.el (indicate-copied-region): New function.
(kill-ring-save): Split off from here.

* lisp/rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
(kill-rectangle): Set deactivate-mark to t on read-only error.

* lisp/register.el (copy-to-register, copy-rectangle-to-register):
Deactivate the mark, and use indicate-copied-region.
(append-to-register, prepend-to-register): Call
lisp/ChangeLog
lisp/rect.el
lisp/register.el
lisp/simple.el